		<table class="custom-table" cellpadding="0" cellspacing="0">
			<thead>
			<tr>
				<th class="th01">ID</th>
				<th class="th02">代金券名称</th>
				<th class="th03">代金券金额</th>
				<th class="th04">数量</th>
				<th class="th05">开始时间</th>
				<th class="th01">截止时间</th>
				<th class="th02">适用商家</th>
				<th class="th03">订单限制金额</th>
<!-- 				<th class="th04">备注</th> -->
				<th class="th04">二维码</th>
				<th class="th05">操作</th>
			</tr>
			</thead>
			<tbody>
			<?php foreach ($this->paginator as $voucher) : ?>
				<tr>
                 <td><?php echo $this->escapeHtml($voucher->vt_id);?></td>
                 <td><?php echo $this->escapeHtml($voucher->vt_name);?></td>
                 <td><?php echo $this->escapeHtml($voucher->vt_price);?></td>
                 <td><?php echo $this->escapeHtml($voucher->vt_num);?></td>
                 <td><?php echo $this->escapeHtml($voucher->vt_start_time);?></td>
                 <td><?php echo $this->escapeHtml($voucher->vt_end_time);?></td>
                 <td><?php echo $this->escapeHtml($voucher->org_name);?></td>
                 <td><?php echo $this->escapeHtml($voucher->vt_limit_price);?></td>
<!--                 <td><?php echo $this->escapeHtml($voucher->vt_remark);?></td>-->
                 <td><a href="/crm/voucher/ajax-qrcode?id=<?php echo $this->escapeHtml($voucher->vt_code);?>" target="_blank">查看</a></td>
                 <td><a href="/crm/voucher/voucher-detail/<?php echo $this->escapeHtml($voucher->vt_id);?>">代金券详情</a>
                 <!--／<a href="javascript:deleteVt('<?php echo $this->escapeHtml($voucher->vt_id);?>')">删除</a></td>-->
				</tr>
			<?php endforeach; ?>
			</tbody>
		</table>
<?php
 // add at the end of the file after the table
 echo $this->paginationControl(
     // the paginator object
     $this->paginator,
     // the scrolling style
     'sliding',
     // the partial to use to render the control
     'partial/ajax-paginator.phtml',
     // the route to link to when a user clicks a control link
     array(
         'route' => $this->url('crm/voucher',
          array('action'=>'ajax-voucher-table')),
         'params_string' => ''
     )
 );
 ?>